package com.ali.item.viewmodle;

/**
 * @ClassName Result
 * @Description http请求返回的最外层对象
 * @Author Alistair.Chow
 * @date 2018/12/14 16:16
 * @Version 1.0
 */
public class ResultViewModel<T> {
    /**
    * @Author Alistair.Chow
    * @Description 错误码
    * @Date 16:17 2018/12/14
    * @Param 
    * @return 
    **/
    private Integer code;
    /**
    * @Author Alistair.Chow
    * @Description 提示信息
    * @Date 16:17 2018/12/14
    * @Param 
    * @return 
    **/
    private String msg;
    /**
    * @Author Alistair.Chow
    * @Description 具体内容
    * @Date 16:19 2018/12/14
    * @Param
    * @return 
    **/
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
